package com.example.service;

import com.example.entity.Comment;
import com.example.entity.User;
import com.example.entity.res.CommentRes;

import java.util.List;

public interface CommentService {
    List<CommentRes> getCommentsByRecommend(Integer rid);

    User getUserInfoByParentid(Integer parentid);

    void addFatherComment(Comment record);

    void addChildComment(Comment record);
}
